-
-
Notifications
You must be signed in to change notification settings - Fork 630
Automatic xwayland-satellite integration #1728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
From what I see in the commit, you already have a setting that control the desired behavior 👍 |
|
Yes, you can disable it with |
|
Will there be support for set additional parameters for |
|
There are no additional parameters. xwayland-satellite does not support any arguments. |
Aha, now that you mention it, I went back to look. I had only been passing one parameter all along, whereas this position in the code should have been reserved for I accidentally used it for parameter passing, relying on a "bug" to run....... |
|
Pretty sure that shouldn't let you pass any extra parameters. Either way, you're not supposed to pass any custom parameters to Xwayland on any WM that integrates with it. xwl-s already passes |
|
Extremely odd decision to include xwayland in the best wayland composer. People won't start using wayland 100% unless you force them to use wayland. They will continue to use xorg software if they don't stop boycotting xorg. I would like to make it so that niri can be built without mentioning xorg. |
|
Well I don't see Steam finally switching to Wayland because some obscure WM doesn't run Xwayland out of the box. So no, the only outcome of niri not integrating some Xwayland out of the box is that it's harder and more annoying for new users, and detracts people from trying niri. If you don't like it you can turn it off in the config, then it will do nothing (exactly the same as before this PR). Or just not install xwayland-satellite. If you really don't like it, it's easy enough to patch out. |
|
No complaints then, if you can cut out xwayland. I fear for niri, as it is the only good product a product one uses and is happy with. No problems have been observed. |
|
Note also that there's no trace of Xwayland in niri itself. All this code is doing is creating X11 sockets and spawning xwayland-satellite |
Could not disagree more. In the current state of affairs it is impossible to live without x11 applications in a normal production environment. For many people (me included), niri without the xwayland-sattellite support would be impracticable. |
When a recent enough (with this PR) xwayland-satellite is detected, niri will create the X11 sockets and set
DISPLAY, then automatically spawnxwayland-satellitewhen an X11 client tries to connect. If Xwayland dies, niri will keep watching the X11 socket and restartxwayland-satelliteas needed. This is very similar to how built-in Xwayland works in other compositors.How to test:
spawn-at-startup "xwayland-satellite"andenvironment { "DISPLAY": ":0"; }.